package evo.springboot.service.impl;

import evo.springboot.mapper.StudentMapper;
import evo.springboot.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper mapper;

    @Override
    public Integer queryCount() {
        Integer count = mapper.selectStudentCount();
        return count;
    }
}
